package com.zsrt.java.day20161223.cg.homework;


import java.util.Scanner;

import org.junit.Test;

/**
 * 1���ܱ�4����ǲ��ܱ�100���
 * 2���ܱ�400���
 * 
 *
 */
public class RunNianTest {
	
	@Test
	public void runNian(){
		Scanner y = new Scanner(System.in);
		System.out.println("���������");
		
		int year = y.nextInt();
		y.close();
		boolean yq1 = (year%4 == 0) && (year%4 != 0);
		boolean yq2 = (year%400 == 0);
		if(yq1 || yq2){
			System.out.println("����������");
			
		}else{
			System.out.println("���겻������");
		}
		
	}	

}
